﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using neuro;

namespace neuroTest
{
  class Program
  {
    static void Main(string[] args)
    {
      NN.Train(new List<NN.TrainingData>()
        {
          new NN.TrainingData()
          {
            Input = new List<double>(){0,0},
            Output = new List<double>(){0},
          },
          new NN.TrainingData()
          {
            Input = new List<double>(){0,1},
            Output = new List<double>(){1},
          },
          new NN.TrainingData()
          {
            Input = new List<double>(){1,0},
            Output = new List<double>(){1},
          },
          new NN.TrainingData()
          {
            Input = new List<double>(){1,1},
            Output = new List<double>(){0},
          },
        },
        new List<int>() { 4 }
        );
      Console.ReadLine();
    }
  }
}
